
import json

with open('my_grade.json', 'r') as fr:
    python_obj = json.load(fr)   # 从 fr 中读取json, 转为python对象
    print('python_obj的类型', type(python_obj))
    print('python_obj=', python_obj)